from tkinter import *
import os
import sys
import webbrowser

class App:

    def __init__(self, master):

        frame = Frame(master)
        frame.pack()





        w = Button(frame, text="QUIT", fg="red", command=frame.quit)
        w.pack(side=BOTTOM)

        w = Button(frame, text="Microsoft Paint", command=self.paint)
        w.pack(side=BOTTOM)

        w = Button(frame, text="Calculator", command=self.calc)
        w.pack(side=BOTTOM)

        w = Button(frame, text="Internet Explorer", command=self.ie)
        w.pack(side=BOTTOM)

        w = Button(frame, text="Windows Self Extracting Archive Creator", command=self.wseac)
        w.pack(side=BOTTOM)

        w = Button(frame, text = "Microsoft Management Console", command=self.mmc)
        w.pack(side=BOTTOM)

        w = Button(frame, text = "Windows Media Player 5.1 (NT/XP)", command=self.wmp)
        w.pack(side=BOTTOM)

        w = Button(frame, text = "Microsoft Sync Center", command=self.mobsync)
        w.pack(side=BOTTOM)

        w = Button(frame, text = "Windows Remote Desktop", command=self.rd)
        w.pack(side=BOTTOM)

        w = Button(frame, text="Notepad", command=self.np)
        w.pack(side=BOTTOM)

        w = Button(frame, text = "Wordpad", command=self.wp)
        w.pack(side=BOTTOM)

        w = Button(frame, text = "Windows Backup Utility (NT/XP)", command=self.ntbu)
        w.pack(side=BOTTOM)

        w = Button(frame, text = "Command-Line DNS Lookup", command=self.cmddl)
        w.pack(side=BOTTOM)

        w = Label(master, text="Fuck Why can't I get this text up top?").pack(side=TOP)




    def paint(self):
        os.system("mspaint.exe")

    def calc(self):
        os.system("calc.exe")

    def ie(self):
        os.system("start iexplore.exe")

    def wseac(self):
        os.system("iexpress.exe")

    def mmc(self):
        os.system("mmc.exe")

    def wmp(self):
        os.system("mplay32.exe")

    def mobsync(self):
        os.system("mobsync.exe")

    def rd(self):
        os.system("mstsc.exe")

    def np(self):
        os.system("notepad.exe")

    def wp(self):
        os.system("write.exe")

    def ntbu(self):
        os.system("ntbackup.exe")

    def cmddl(self):
        os.system("nslookup.exe")

root = Tk()

app = App(root)



root.mainloop()
